package DesignMode.template;

/**
 * @auther zhouliangliang
 * @date 2022/11/15 10:28
 * @description
 */
public class ServiceB extends ServiceTemplate{
    @Override
    protected boolean checkPara(Object request) {
        System.out.println("check para in service B");
        return Boolean.TRUE;
    }

    @Override
    protected Object callService(Object request) {
        System.out.println("call service in service B");
        return null;
    }

    @Override
    protected Object assemblyResult(Object response) {
        System.out.println("assembly result in service B");
        return "service B done";
    }
}
